{{!--<div>
    {{#each cates as |cate|}}
		<div>{{cate.name}}</div>
      {{#each cate.children as |child|}}
        <div style="padding-left: 20px ">{{child.name}}  </div>
      {{/each}}
    {{/each}}
</div>--}}
<section>
	<div class="row">
	  <div class="x_panel">
		  <div class="x_title">
			  <h3>{{cateName}} </h3>
			  <div class="clearfix"></div>
		  </div>
	  </div>
    {{#each products as |product|}}
		<div class="col-md-2 col-sm-4 col-xs-6">
    {{#link-to "product-detail" product.id}}
			<div class="thumbnail">
        {{product-image image=product.thumb}}
				<div class="caption">
					<span class="title">{{product.title}}填满两行来看看效果噻呵呵哈哈哈</span>
					<span class="price">￥{{product.marketprice}}</span>
			    <span class="btn-group btn-group-xs"><a href="#" class="btn btn-buy" role="button">购买</a></span>
				</div>
			</div>
    {{/link-to}}
		</div>
    {{/each}}
	</div>
	<div class="clearfix"></div>
</section>

